
<!DOCTYPE HTML>
<html>
<head>
	<meta charset="UTF-8">
	<meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
	<meta content="yes" name="apple-mobile-web-app-capable" />
	<meta content="telephone=no" name="format-detection" />
	<meta http-equiv="Pragma"content="no-cache">
	<meta http-equiv="Cache-Control"content="no-cache">
	<meta http-equiv="Expires"content="0">
	<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
	<title>邀请福利</title>
	<link rel="stylesheet" type="text/css" href="/wap/tpl/fanwe/yaoqing/css/common.css" />
	<script type="text/javascript" src="/wap/tpl/fanwe/yaoqing/js/jquery-2.0.1.min.js"></script>
	<script type="text/javascript" src="/wap/tpl/fanwe/yaoqing/js/main.js"></script>
	<script type="text/javascript" src="/wap/tpl/fanwe/yaoqing/js/common.js"></script>
	<script type="text/javascript" src="/wap/tpl/fanwe/yaoqing/js/sea.js"></script>
	<script type='text/javascript'>
      var _vds = _vds || [];
      window._vds = _vds;
      (function(){
        _vds.push(['setAccountId', 'a19fccd9c93d0328']);
        (function() {
          var vds = document.createElement('script');
          vds.type='text/javascript';
          vds.async = true;
          vds.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'dn-growing.qbox.me/vds.js';
          var s = document.getElementsByTagName('script')[0];
          s.parentNode.insertBefore(vds, s);
        })();
      })();
  </script>
</head>
<script>
	var base="";
	var jspath="js/";
	var curpath="/Wechat2/app";
	seajs.config({
		base: jspath,
		alias: {
			"jquery": "lib/jquery-1.10.2.js"
			,"dialog": 'box/dialog-plus'
			,"poshytip": 'tip/jquery.poshytip.js'
			,"placeholder": 'lib/jquery.placeholder.js'
			,"validate": 'validate/jquery.validate.min.js'
			,"fancybox": 'fancybox/sea_fancybox.js'
		}
	});
</script>
<body>
<div class="ajax_loadding"></div>
<div class="ajax_loadding_m">
	<div class="ajax_loadding_main">
		<div class="ajax_loadding_icon">
			<img src="/wap/tpl/fanwe/yaoqing/images/loadding.gif" width="100%"/>
		</div>
		<div class="ajax_loadding_tit">请稍等...
		</div>
	</div>
</div>
<!-- 加入dialog模块 -->
<div class="ajax_loadding"></div>
<div class="ajax_loadding_m">
	<div class="ajax_loadding_main">
		<div class="ajax_loadding_icon">
			<img src="/wap/tpl/fanwe/yaoqing/images/loadding.gif" width="100%"/>
		</div>
		<div class="ajax_loadding_tit">请稍等...
		</div>
	</div>
</div>
<div style="display: none">
	<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1254745261'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s4.cnzz.com/z_stat.php%3Fid%3D1254745261%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));</script>
</div>
<!-- 加入dialog模块 -->
<link rel="stylesheet" type="text/css" href="/wap/tpl/fanwe/yaoqing/css/dialog.css">
<div class="dialog-mask"></div>
<!-- 简单弹出框 -->
<div class="dialog-container" id="dialog-simple" style="display:none">
	<div class="dialog-container-header">
		提示
		<a href="javascript:;" class="dialog-header-cancel">x</a>
	</div>
	<div class="dialog-container-content">
		
	</div>
	<div class="dialog-container-btn">
		<a href="javascript:;" onclick="dialog_hide()" class="dialog-btn-sure">确&nbsp;定</a>
	</div>
</div>
<!-- confirm确认弹出框 -->
<div class="dialog-container" id="dialog-confirm" style="display:none">
	<div class="dialog-container-header">
		提示
		<a href="javascript:;" class="dialog-header-cancel">x</a>
	</div>
	<div class="dialog-container-content">
		
	</div>
	<div class="dialog-container-btn">
		<a href="javascript:;" class="dialog-btn-cancel">取&nbsp;消</a>
		<a href="javascript:;" class="dialog-btn-sure">确&nbsp;定</a>
	</div>
</div>
<!-- html弹出框 -->
<div class="dialog-container" id="dialog-htmlPanel" style="display:none">
	<div class="dialog-container-header">
		提示
		<a href="javascript:;" class="dialog-header-cancel">x</a>
	</div>
	<div class="dialog-container-content-html">
		
	</div>
	<div class="dialog-container-btn">
		<a href="javascript:;" onclick="dialog_hide()" class="dialog-btn-sure">确&nbsp;定</a>
	</div>
</div>

<!-- html confirm 弹出框 -->
<div class="dialog-container" id="dialog-htmlconfirmPanel" style="display:none">
	<div class="dialog-container-header">
		提示
		<a href="javascript:;" class="dialog-header-cancel">x</a>
	</div>
	<div class="dialog-container-content-html">
		
	</div>
	<div class="dialog-container-btn">
		<a href="javascript:;" class="dialog-btn-cancel">取&nbsp;消</a>
		<a href="javascript:;" class="dialog-btn-sure">确&nbsp;定</a>
	</div>
</div>

<!-- 新版风格 弹出框 -->

	<div class="confirm-dialog-zg"></div>
	<div class="confirm-dialog">
		<a href="javascript:;" class="confirm-dialog-clear" onclick="clear_dialog()"></a>
		<div class="confirm-dialog-text">
			<div class="join-success"></div>
			<div class="join-success-title">操作成功！</div>
			<div class="join-tip"></div>
			<div class="join-tip-title"></div>
			<div class="join-error"></div>
			<div class="join-error-title"></div>
			<div class="join-loadding"></div>
			<div class="join-loadding-title">正在操作...</div>
		</div>
		<a href="javascript:;" class="confirm-dialog-btn" id="dialog-sbtn2">确 认</a>
	</div>

<input type="hidden" value="" id="dialog_type" />
<script type="text/javascript" src="/wap/tpl/fanwe/yaoqing/js/dialog.js"></script>



<link rel="stylesheet" type="text/css" href="/wap/tpl/fanwe/yaoqing/css/invite1.css"/>
<body>
<div class="content">
    <img class="top" src="/wap/tpl/fanwe/yaoqing/images/top-bg.png" alt="">
    <div class="date">2017.08.17~2017.09.16</div>
    <div class="intro-btn" onclick="show(1)">
        <img src="/wap/tpl/fanwe/yaoqing/images/intro-link.png" alt="" width="100%">
    </div>
    <!-- 邀请人奖励 -->
    <div class="box">
        <img class="title1" src="/wap/tpl/fanwe/yaoqing/images/title1.png"/>
        <div class="item1">
            <p>活动期间邀请好友注册，享好友年化投资额1%的佣金奖励，佣金在邀请人完成首投后，即可提现。</p>
            <p class="big">投资金额*产品期限（月）/12*1%</p>
            <img class="item1-icon" src="/wap/tpl/fanwe/yaoqing/images/item1-icon.png" alt="">
            <p>
                举个例子：<br>
                活动期间邀请好友，好友投资新手专享6月标10万元<br>
                邀请人将获得：100000*6/12*1%=500元
            </p>
        </div>
    </div>
    <!-- 被邀请人奖励 -->
    <div class="box">
        <div class="yun"></div>
        <img class="title2" src="/wap/tpl/fanwe/yaoqing/images/title2.png"/>
        <ul class="item2">
            <li class="li1"><span>注册即送</span></li>
            <li class="li3"><span>注册即送</span></li> 
            <li class="li2"><span>享年化14%+4%</span></li>
            <!-- <li class="li4"><span>限红包邀请</span></li> -->
        </ul>
    </div>

    <div class="box item3">
        <img class="title3" src="/wap/tpl/fanwe/yaoqing/images/title3.png"/>
        <ul>
            <li>普通邀请：邀请人注册成功后，通过专属二维码，分享链接邀请好友；</li>
            <li>红包分享邀请：邀请人单笔投资金额≥2000元，投资期限≥1个月，即可获得分享红包邀请好友机会一次；</li>
        </ul>
    </div>
    <div class="invite-btn-line"></div>
    <a href="/wap/member.php?ctl=uc_qrcode" class="invite-btn" id="J_invite"></a>

    <!--活动说明-->
    <div class="intro-mask"></div>
    <div class="intro-dialog">
        <div class="intro-close" id="intro-hide"></div>
        <div id="J_intro1" class="intro-main">
            <h1>活动规则</h1>
            <ul>
                <li>活动时间：2017年8月21日起</li>
                <li>本次活动仅限普通理财用户参与</li>
                <li>活动期间邀请的好友，邀请人获得佣金奖励的时间为一周之内。</li>
                <li>如有疑问请致电4000-057-570</li>
                <li>活动最终解释权归上海宜勇资产管理有限公司所有</li>
                <li>小沙僧理财有权利根据运营的实际情况进行规制的调整。</li>
                <!-- <li>活动最终解释权宁波合众芸创财富投资管理有限公司所有；</li>
                <li>小鸡理财有权利根据运营的实际情况进行规则的调整。</li> -->
            </ul>
        </div>
    </div>
    <div class="invite-dialog">
        <p class="text1">我的邀请码：</p>
        <div class="ewm">
            <img src="/Wechat2/app/invite/qrcode/1.html" alt="">
        </div>
        <p class="text2">扫描二维码进入链接注册，即可成为好友</p>
    </div>
</div>
</body>
<script>
    function show(i){
        $(".intro-mask").show();
        $(".intro-dialog").show();
        $("#J_intro"+i).show();
    }
    $("#intro-hide").click(function(){
        $(".intro-mask").hide();
        $(".intro-dialog").hide();
        $(".intro-main").hide();
    });
    $(".intro-mask").click(function(){
        $(".intro-mask").hide();
        $(".intro-dialog").hide();
        $(".intro-main").hide();
        $(".invite-dialog").hide();
    });

    $("#J_invite").click(function(){
        my_click();
        if (("" == '') && ("" == '')) {
            go_to('login');
        } else if (("" == '') && ("" == '1')) {
            location.href = "#";
        } else if (("1" == '1') && ("" == '')) {
            go_to('invest');
        } else if (("1" == '1') && ("" == '1')) {
            Dialog.confirm("即日起，邀请好友需完成任意投资行为（除体验标）", function (e) {
                location.href = "#";
            })
        } else if (("" != '') && ("" == '')) {
            go_to('share');
        } else {
        $(".intro-mask").show();
        $(".invite-dialog").show();
        }
    });
    function my_click(url) {
        if ((('1' == '2') && ("" == '')) || (('' == '') && ("" == ''))) {
            go_to('login');
            return false;
        }
        if ("" == '') {
            loadURL("XJLC://" + url);
            return false;
        }
        if (('1' == '1') && ("" == '')) {
            Dialog.simple('邀请好友体系全新升级，请下载最新版本的APP查看邀请福利');
            return false;
        }
        return true;
    }
    var click_num = 0;
    function go_to(view){
        // click_num ++;
        // if(click_num > 5) {
        //     alert("客官，为避免不良体验，请使用最新的APP哟~~");
        //     return ;
        // }
        loadURL("XJLC://go_to_"+view);
    }
    function loadURL(url) {
        var iFrame;
        iFrame = document.createElement("iframe");
        iFrame.setAttribute("src", url);
        iFrame.setAttribute("style", "display:none;");
        iFrame.setAttribute("height", "0px");
        iFrame.setAttribute("width", "0px");
        iFrame.setAttribute("frameborder", "0");
        document.body.appendChild(iFrame);
        // 发起请求后这个 iFrame 就没用了，所以把它从 dom 上移除掉
        iFrame.parentNode.removeChild(iFrame);
        iFrame = null;
    }
</script>